<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="${BASE_PATH}/static/css/common.css"/>
<link rel="stylesheet" type="text/css" href="${BASE_PATH}/static/css/dl.css"/>
<link rel="stylesheet" type="text/css" href="${BASE_PATH}/static/css/manage.css"/>
<script type="text/javascript" src="${BASE_PATH}/static/js/jquery.js"></script>
<script type="text/javascript" src="${BASE_PATH}/static/js/jquery.pagination.js"></script>
<script src="${BASE_PATH}/static/js/jquery.lightbox_me.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="${BASE_PATH}/static/js/jquery.form.js"></script>		
<script type="text/javascript">
$(document).ready(function() {
	$("#Pagination").pagination("15");
});

	function AjaxSubmit(vKeyID,vTypeID)
	{
    	var cValue="id="+vKeyID+"&type="+ vTypeID;
        $.ajax({
            type: "POST",
            url: "${BASE_PATH}/api/sys_user/check",
			dataType : "json",
			cache : false,
			data : cValue + "&no-cache=" + Math.round(Math.random() * 10000),
			success : onAfterSubmit
		});
	}
	
	function onAfterSubmit(ret) {
		//保存成功
		if (ret.Code == 1) {
			alert("数据保存成功！");
			window.location.reload();
			return;
		}

		if (ret.Code == 2) {
			alert("用户登录失败！");
			return;
		}

		//验证失败
		if (ret.Code == 3) {
			var vCtrlID = ret.ctrlID;
			var vMessage = ret.message;
			$("#" + vCtrlID).focus();
			alert(vMessage);
			return;
		}
	}		
</script>
<title>机构用户审核</title>
</head>
<body>
<#setting datetime_format="yyyy-MM-dd HH:mm:ss"/>
<!--head start-->
<#include "../common/myspacetop.ftl"/> 
<!--head end-->
<div class="fnav system_fnav">
   <ul>
      <li><a href="###" target="_top">首页</a></li>
      <li><span>></span></li>
      <li><a href="###" target="_top">我的预约</a></li>
      <li><span>></span></li>
      <li><a href="###" target="_top">所有预约</a></li>
   </ul>   
</div>
<div class="my-content">
   <#include "../common/left.ftl"/> 
   <div class="coright"> 
   	<#list dbrows as rowkey>   			      
      <div class="coright_list">
         <div class="coright_listc">
            <div class="coright_listcl">
              <img src="${BASE_PATH}/static/images/all_18.jpg" />
            </div>
            <div class="coright_listcr">
               <div class="coright_listcrt">
                <dl class="coright_dltop">
                   <dt class="jc"><span class="jcname">用户名称:</span><span class="jccon">${rowkey.user_identity!""}</span></dt>
                   <dd class="jc"><span class="jcname">邮箱地址:</span><span class="jccon">${rowkey.user_mailaddr!""}</span></dd>
                   <dd class="jc"><span class="jcname">联系电话:</span><span class="jccon">${rowkey.user_phone!""}</span></dd>
                   <dd class="jc"><span class="jcname">注册时间:</span><span class="jccon">${rowkey.last_update_time?datetime("yyyyMMddHHmmss")!""}</span></dd>
                   <dd class="zyj"><span class="jcname">所属单位:</span><span class="jccon">${rowkey.org_name!""}</span></dd>
                </dl>
                <div class="insert"><a href="###" style="color: #0288D1;"></a></div>
                <div class="clear"></div>
              </div><a href="###" class="zt" onclick="AjaxSubmit('${rowkey.id}','1');">通过</a>
              <div class="coright_button"><a href="###" class="zt" onclick="AjaxSubmit('${rowkey.id}','2');">不通过</a></div>             
            </div>
         </div>
        <div class="clear"></div>
      </div>
      </#list>
  </div>
</div>
<div class="clear"></div>
<div class="pages">
        <div id="Pagination"></div>
        <div class="searchPage">
          <span class="page-sum">共<strong class="allPage">15</strong>页</span>
          <span class="page-go">跳转<input type="text">页</span>
          <a href="javascript:;" class="page-btn">GO</a>
        </div>
        <div class="clear"></div>
</div>   
<script type="text/javascript" src="js/left.js"></script>
<script type="text/javascript" src="js/nav.js"></script>
<div id="sign_up">
     <h3 id="see_id" class="sprited" >&nbsp;</h3>
     <span>用户登录</span>
     <div id="sign_up_form">
          <input class="sprited" placeholder="请输入手机号码或邮箱或用户名"/>
          <input class="sprited" placeholder="请输入密码"/><br />
          <div class="jzma">
               <input type="checkbox" />    
               <span style="color:gray;" style="font-size:14px;">记住用户名</span>                  
                <a href="###" class="wjma">忘记密码？</a>
           </div>
           <a href="###" class="button">立即登录</a><br />
           <div class="box1">
              <span class="con">还不是我们的用户？</span>
              <a href="###" class="zc">立即注册</a>
           </div> 
        </div>                  
</div>
</body>
</html>
